package com.boxin.ims.modules.wechat.entity;

/**
 * @author Jakemanse
 * @date 2013-10-3
 * @function <p> 消息配置类型 </p>
 */
public enum MatchingType {
	EQUAL("完全匹配",1),	//完全匹配
	CONTAINS("包含",2),	//包含
	START_WITH("以此开头",3),	//以什么开头
	END_WITH("以此结尾",4);	//以什么结尾
	
	private String name;
	private Integer index;
	
	private MatchingType(String name,Integer index){
		this.name = name;
		this.index = index;
	}
	
	
	
	public String getName() {
		return name;
	}



	public void setName(String name) {
		this.name = name;
	}



	public Integer getIndex() {
		return index;
	}



	public void setIndex(Integer index) {
		this.index = index;
	}



	@Override   
    public  String toString() {  
        return   this .index+ "_" + this .name;  
    }  
}
